import pytest
from tools.read_pathlib import exc_path
from tools.handle_requests import requests_api
from tools.read_Excel import read_data
from tools.handle_assert import handle_assert


data = read_data(exc_path,"注册1")
@pytest.mark.parametrize("datas",data)
def test07_resister(datas):
    res = requests_api(datas)
    handle_assert(res,datas["预期结果"])